Can be disabled with 'iommu=0' boot parameter.
Note that iommu_inclusive_mapping is now also enabled by default, to
deal with systems with broken BIOS tables specifying bad RMRRs. Old
behaviour can be specified via 'iommu_inclusive_mapping=0'.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* no-intremap Disable VT-d Interrupt Remapping
*/
custom_param("iommu", parse_iommu_param);
-int iommu_enabled;
+int iommu_enabled = 1;
int iommu_pv_enabled;
int force_iommu;
int iommu_passthrough;
-int iommu_snoop;
-int iommu_qinval;
-int iommu_intremap;
+int iommu_snoop = 1;
+int iommu_qinval = 1;
+int iommu_intremap = 1;
int amd_iommu_debug;
int amd_iommu_perdev_intremap;
{
char *ss;
- iommu_enabled = 1;
- iommu_snoop = 1;
- iommu_qinval = 1;
- iommu_intremap = 1;
- amd_iommu_debug = 0;
- amd_iommu_perdev_intremap = 0;
-
do {
ss = strchr(s, ',');
if ( ss )
* iommu_inclusive_mapping: when set, all memory below 4GB is included in dom0
* 1:1 iommu mappings except xen and unusable regions.
*/
-static int iommu_inclusive_mapping;
+static int iommu_inclusive_mapping = 1;
boolean_param("iommu_inclusive_mapping", iommu_inclusive_mapping);
void *map_vtd_domain_page(u64 maddr)